package com.yeyks.common.param.hotel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author dagny
 * @date 2020/4/3 0003 14:42
 */
@ApiModel(description = "添加开放城市")
@Data
public class HotelRecommendCityUpdateParam implements Serializable {
    private static final long serialVersionUID = 4259001945016770356L;

    @ApiModelProperty("主键ID")
    @NotNull(message = "主键ID不能为空")
    private Integer id;

    @ApiModelProperty(value = "省份名称")
    private String provinceName;

    @ApiModelProperty(value = "城市名")
    @NotBlank(message = "城市名称不能为空")
    private String cityName;

    @ApiModelProperty(value = "0:未开通 1：已开通")
    private Integer openStatus;

}
